-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove support for Node 6 #5632
Conversation
Thanks for the contribution! Below are some guidelines Cypress uses when doing PR reviews.
PR Review ChecklistIf any of the following requirements can't be met, leave a comment in the review selecting 'Request changes', otherwise 'Approve'. User Experience
Functionality
Maintainability
Quality
Internal
|
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
- previously required Node 8 support
- Drops Node 4 support, adds Node 10 support - They mentioned no breaking changes, so we’ll see.
- removes Node end of lives - supports more CIs for detection
- drops support for Node 6 + improvements on detection
- requires Node 8
- Requires Node 8
- require Node 8 - may break some snapshots - they changed some quotes like 'this' instead of `this'
- removes Node 6 support - some breaking changes, but I didn’t find us using any of them on first pass.
Drops various node version support including 6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Not too familiar with the way the project is built, but should we also update the build step to not transpile everything and only enough for Node.js 8 to interpret it? E.g. this would allow |
That's a good thought. I don't think we transpile any JavaScript that gets run in Node, but for CoffeeScript and TypeScript, we may be able to change the transpilation target. Any thoughts, @gleb? |
So, this is CLI package, and we transpile shell.exec('babel lib -d build/lib')
shell.exec('babel index.js -o build/index.js') I think we do need to look at what it targets now - I don't think it will make a lot of difference though for CLI code since we don't use I will open two separate issues:
but overall this PR seems good to go as is |
Released in |
if you have node < error execa@3.3.0: The engine "node" is incompatible with this module. Expected version "^8.12.0 || >=9.7.0". Got "8.9.3" |
execa began requiring 8.12.0 in their engines in 2.0.1 as a bug fix, not noting it as a breaking change, which is like lol I've opened a new issue here: #6512 |
User facing changelog
bluebird
from3.5.0
to3.7.1
.cachedir
from2.2.0
to2.3.0
.chalk
from2.4.2
to3.0.0
.commander
from2.20.0
to4.0.1
.debug
from3.2.6
to4.1.1
.execa
from0.10.0
to3.3.0
.fs-extra
from5.0.0
to8.1.0
.is-ci
from1.2.1
to2.0.0
.is-installed-globally
from0.1.0
to0.3.1
.log-symbols
from2.2.0
to3.0.0
.supports-color
from6.1.0
to7.1.0
.untildify
from3.0.3
to4.0.0
.PR Tasks
cypress-documentation
? Is part of 4.0 docs Cypress 4.0 Docs cypress-documentation#1710type definitions
?cypress.schema.json
?